package com.brainhealth.common.enums;

/**
 * 训练项目类型
 */
public enum ExerciseType implements BaseEnum
{
    Game(0, "游戏训练"), Video(1, "视频训练");
    private final int code;
    private final String info;

    ExerciseType(int code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public int getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }

    @Override
    public Integer getValue()
    {
        return code;
    }
}
